<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
var bjId="";

	function bjChange(Id) {
		bjId=Id;
		refrash();
	}

	function refrash() {
	$('#myTable').load('grade/cjb',{bjId:bjId},function(){
		})
	}
</script>
<title>按班级录入成绩</title>


</head>

    <p>
    <div class=contrainer>
   		<label>班级：</label>
		<select id="bj" onchange="bjChange(this.value)">
			<option value="0">--请选择--</option>
			<c:forEach items="${bjs}" var="bj">
				<option value="${bj.id}">${bj.name}</option> 
			</c:forEach>
		</select>
      <button type="button" onclick="cx()">查询</button>
  </div>
  <div id="myTable">
	
	</div>
	

